<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2024/12/11
  Time: 15:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="banner_do">
    <div class="banner_goods">
        <c:forEach items="${categories}" var="category">
            <div class="banner_goods_type">
                <div class="banner_goods_title">
                    <span></span>
                    <p>${category.categoryName}</p>
                </div>
                <a href="#">
                        <%--                    <img class="banner_goods_show"--%>
                        <%--                        src="${pageContext.request.contextPath}/resource/images/fore/WebsiteImage/show/${category.categoryId}.jpg"></a>--%>
                    <div class="banner_goods_items">
                        <c:if test="${null!=category.productList}">
                            <c:forEach items="${category.productList}" var="product" begin="1" end="8">
                                <div class="banner_goods_item">
                                    <a href="#" class="goods_link"></a>
                                    <img src="${pageContext.request.contextPath}/resource/images/item/productSinglePicture/e95d4a9d-ebe9-4f12-975b-2e94e98aa2ef.jpg">
                                    <a href="#"
                                       class="goods_name">${product.productName}</a>
                                    <span class="goods_price">￥${product.productSalePrice}</span>
                                </div>
                            </c:forEach>
                        </c:if>
                    </div>
            </div>
        </c:forEach>
    </div>
    <div class="endDiv"></div>
</div>

</body>
</html>
